/**
 * Copyright (C), 2015-2019, XXX有限公司
 * FileName: ActDrawAward
 * Author:   zhouheng
 * Date:     2019/6/16 22:09
 * Description: 奖品
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.zhouh.golden.activity.domain;

import lombok.Data;

import javax.persistence.*;
import java.security.SecureRandom;
import java.util.Date;

/**
 * 〈一句话功能简述〉<br> 
 * 〈奖品〉
 *
 * @author zhouheng
 * @create 2019/6/16
 * @since 1.0.0
 */
@Data
@Table(name = "t_act_award")
public class ActDrawAward {
    @Id
    @GeneratedValue(generator = "JDBC")
    private Integer id;

    // 奖品名称
    @Column(name = "award_name")
    private String awardName;

    // 奖品信息(如果是卡券类，则以json格式把卡券编号进行存储
    @Column(name = "award_info")
    private String awardInfo;

    // 奖品类型
    @Column(name = "award_type")
    private Integer awardType;

    // 创建时间
    @Column(name = "create_time")
    private Date createTime;

}